package com.example.administrator.daydayappmarket.game.fragment.fragments.choiceness.app;

import android.app.Application;

import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;

/**
 * Created by 郎志奇 on 2016/12/26.
 */

public class App extends Application {

    private RequestQueue requestQueue;

    private static App app;

    @Override
    public void onCreate() {
        super.onCreate();

        app=this;

        requestQueue= Volley.newRequestQueue(this);

        requestQueue.start();
    }

    public RequestQueue getRequestQueue() {
        return requestQueue;
    }

    public static App getApp() {
        return app;
    }
}
